package com.cizzy.user.config;

public class CizzyFinal {
    public static final String CIZZY_USER = "cizzy:user:id:";
    public static final String CIZZY_TOKEN = "cizzy:user:token:";
    public static final Integer TTL_MIN = 3600;
    public static final Integer TTL_TOKEN_LEN = 32;
    public static final Integer TTL_TOKEN = 3600*24*7;
    public static final String CIZZY_USER_GETID = "cizzy:user:getIdByToken:";
    public static final String USER_LOCK = "userLock";

    public final static Integer QPS_LIMIT = 100;

    public final static Integer DEGRADE_LIMIT = 10;

    public final static Integer DEGRATE_TIME_WINDOW = 15;

    public final static Integer MIN_DEGRADE_NUM = 10;
}
